package gui;

import java.util.ArrayList;

import javax.swing.JComponent;

public class ComponentList extends ArrayList<JComponent> {
	
	public void disableAll() {
		for (JComponent c : this) {
			c.setEnabled(false);
		}
	}
	
	public void enableAll() {
		for (JComponent c : this) {
			c.setEnabled(true);
		}
	}
}
